//
//  CellTableViewCell.m
//  Powertech
//
//  Created by 魏延(颜魏) on 2024/12/9.
//

#import "CellTableViewCell.h"

@interface CellTableViewCell()

@property (weak, nonatomic) IBOutlet UILabel *indexLabel;
@property (weak, nonatomic) IBOutlet UILabel *numLabel;
@property (weak, nonatomic) IBOutlet UIView *lineView;
@property (weak, nonatomic) IBOutlet UILabel *indexLabel1;
@property (weak, nonatomic) IBOutlet UILabel *numLabel1;

@end

@implementation CellTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setIndex:(NSInteger)index {
    _index = index;
    self.indexLabel.text = [NSString stringWithFormat:@"Cell%ld", index + 1];
    self.indexLabel1.text = [NSString stringWithFormat:@"Cell%ld", index + 2];
}

- (void)setNumV:(NSString *)numV {
    _numV = numV;
    self.numLabel.text = [NSString stringWithFormat:@"%@mV", numV];
}

- (void)setNumV1:(NSString *)numV1 {
    _numV1 = numV1;
    self.numLabel1.text = [NSString stringWithFormat:@"%@mV", numV1];
}

- (void)setIsLast:(BOOL)isLast {
    _isLast = isLast;
    self.lineView.hidden = isLast;
}

@end
